package com.jingdianjichi.practice.server.config.interceptor;

import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Description:
 * Copyright: Copyright (c) 2024
 * Create Time: 2024-07-28 11:35
 *
 * @author wanglianyun
 */
@Configuration
public class FeignConfiguration {

    @Bean
    public RequestInterceptor requestInterceptor(){
        return new FeignRequestInterceptor();
    }
}
